package com.niuwa.p2p.service.customer.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.niuwa.p2p.dao.customer.CustomerEduDao;
import com.niuwa.p2p.entity.customer.CustomerEducation;
import com.niuwa.p2p.service.customer.ICustomerEduService;

/**
 * 客户学历信息服务接口
 * 
 * @author zhangbo
 *
 */
@Service
public class CustomerEduServiceImpl implements ICustomerEduService {

	@Autowired
	private CustomerEduDao customerEduDao;

	@Override
	public List<CustomerEducation> getCustomerEdu(Long custId) {
		return customerEduDao.getCustomerEdu(custId);
	}

	@Override
	public int updateCustomerEdu(CustomerEducation CustomerEdu) {
		return customerEduDao.updateCustomerEdu(CustomerEdu);
	}

}
